package com.crrcdt.vue_project.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author lj on 2020/10/24.
 * @version 1.0
 */
@Data
public class AttrVo {
    @ApiModelProperty(value = "主键id")
    private Integer id;

    @ApiModelProperty(value = "商品id")
    private Integer goods_id;

    @ApiModelProperty(value = "属性id")
    private Integer attr_id;

    @ApiModelProperty(value = "商品对应属性的值")
    private String attr_value;

    @ApiModelProperty(value = "该属性需要额外增加的价钱")
    private BigDecimal add_price;

    @ApiModelProperty(value = "only:输入框(唯一)  many:后台下拉列表/前台单选框")
    private String attr_sel;

    @ApiModelProperty(value = "manual:手工录入  list:从列表选择")
    private String attr_write;

    @ApiModelProperty(value = "可选值列表信息,例如颜色：白色,红色,绿色,多个可选值通过逗号分隔")
    private String attr_vals;

    @ApiModelProperty(value = "属性名称")
    private String attr_name;
}
